shopping_list = []
#append 添加
shopping_list.append("键盘")
shopping_list.append("键帽")
shopping_list.append("鼠标")
shopping_list.append("耳机")
print("01  "+str(shopping_list))
#remove 移除
shopping_list.remove("键帽")
print("02  "+str(shopping_list))
#计算长度
print("03  "+str(len(shopping_list)))
#按照索引访问
print("04  "+shopping_list[0])
shopping_list[0] = "新键盘"
print("05  "+shopping_list[0])
print("06  "+str(shopping_list))
price = [799,74,159,6666]
max_price = max(price)
min_price = min(price)
sorted_price = sorted(price)
print(max_price)
print(min_price)
print(sorted_price)